package cn.explink.distributor.framework;

import java.util.List;

public abstract class AbstractOrder implements Order {

	private String name;

	private List<CommonCondition> conditionList;

	public AbstractOrder() {

	}

	public AbstractOrder(String name, List<CommonCondition> conditionList) {
		this.name = name;
		this.conditionList = conditionList;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void setConditionList(List<CommonCondition> conditionList) {
		this.conditionList = conditionList;
	}

	@Override
	public List<CommonCondition> getConditionList() {
		return this.conditionList;
	}

}
